PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Appearance Manager >

Programming With the Appearance Manager


GetThemeAccentColors

Obtains a copy of a theme's accent colors.

pascal OSStatus GetThemeAccentColors (
                     CTabHandle *outColors);
outColors
A pointer to a value of type CTabHandle . On return, the handle refers to a ColorTable structure containing the current accent colors.
function result
A result code; see Result Codes . GetThemeAccentColors returns the result appearanceThemeHasNoAccents if the current theme has no accent colors.
SPECIAL CONSIDERATIONS

Note that the Appearance Manager does not currently define semantics for any indexes into the color table produced by the GetThemeAccentColors function.

VERSION NOTES

Available with Appearance Manager 1.0.1 and later.


© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)